Update gir and regenerate
authorFelix Krull <f_krull@gmx.de>
Fri, 24 May 2019 19:55:05 +0000 (21:55 +0200)
committerColin Walters <walters@verbum.org>
Fri, 6 May 2022 16:53:54 +0000 (12:53 -0400)
rust-bindings/rust/Makefile
rust-bindings/rust/src/auto/deployment.rs
rust-bindings/rust/src/auto/versions.txt
rust-bindings/rust/sys/src/auto/versions.txt

index b4a8342a2a36898ce98dc219b8d3b7cb84735166..6094676397685d410b4d652be616eb1795b9dabf 100644 (file)
@@ -5,8 +5,7 @@ all: gir
 
 # -- gir generation --
 target/tools/bin/gir:
-       #cargo install --root target/tools --git https://github.com/gtk-rs/gir.git --rev fec179c697a03e4aa98c610f7b98fd1b0ceb9344 -- gir
-       cargo install --root target/tools --git https://github.com/fkrull/gir.git --branch fixup-gconstpointer -- gir
+       cargo install --root target/tools --git https://github.com/gtk-rs/gir.git --rev f511aaeee8a324dc8d23b7a854121739b9bfcd2e -- gir
 
 gir: target/tools/bin/gir
        target/tools/bin/gir -c conf/ostree-sys.toml
index a8b4a7e33ca5fd9205f32ea5c964caff972eb3a4..e2ed855a94c59b763890eaa4b8faee7c12fcdb18 100644 (file)
@@ -35,7 +35,7 @@ impl Deployment {
 
     pub fn equal(&self, bp: &Deployment) -> bool {
         unsafe {
-            from_glib(ostree_sys::ostree_deployment_equal(ToGlibPtr::<*const ostree_sys::OstreeDeployment>::to_glib_none(self).0 as glib_sys::gconstpointer, ToGlibPtr::<*const ostree_sys::OstreeDeployment>::to_glib_none(bp).0 as glib_sys::gconstpointer))
+            from_glib(ostree_sys::ostree_deployment_equal(ToGlibPtr::<*mut ostree_sys::OstreeDeployment>::to_glib_none(self).0 as glib_sys::gconstpointer, ToGlibPtr::<*mut ostree_sys::OstreeDeployment>::to_glib_none(bp).0 as glib_sys::gconstpointer))
         }
     }
 
@@ -140,7 +140,7 @@ impl Deployment {
 
     pub fn hash(&self) -> u32 {
         unsafe {
-            ostree_sys::ostree_deployment_hash(ToGlibPtr::<*const ostree_sys::OstreeDeployment>::to_glib_none(self).0 as glib_sys::gconstpointer)
+            ostree_sys::ostree_deployment_hash(ToGlibPtr::<*mut ostree_sys::OstreeDeployment>::to_glib_none(self).0 as glib_sys::gconstpointer)
         }
     }
 
index f51e58a2ee7ee35cc76df4ce8d888aed03607ab8..d07525712851d4b580a2d4df3d851657f568d042 100644 (file)
@@ -1,2 +1,2 @@
-Generated by gir (https://github.com/gtk-rs/gir @ 1bff597)
+Generated by gir (https://github.com/gtk-rs/gir @ f511aae)
 from gir-files (https://github.com/gtk-rs/gir-files @ ???)
index be52760aa761910c2cdaa573bac8b4f9fa444443..d07525712851d4b580a2d4df3d851657f568d042 100644 (file)
@@ -1,2 +1,2 @@
-Generated by gir (https://github.com/gtk-rs/gir @ fec179c)
+Generated by gir (https://github.com/gtk-rs/gir @ f511aae)
 from gir-files (https://github.com/gtk-rs/gir-files @ ???)